Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assistant: Change flags name #2230

Merged
merged 5 commits into from
Oct 28, 2024
Merged

Assistant: Change flags name #2230

merged 5 commits into from
Oct 28, 2024

Conversation

JF-Cozy
Copy link
Contributor

@JF-Cozy JF-Cozy commented Oct 28, 2024

Permet d'apporter un peu plus de granularité dans la gestion des fonctionnalités

cozy.searchbar.enabled: Affiche la barre de recherche (uniquement desktop/mobile web)
cozy.searchbar.enabled-for-flagship: Affiche la barre de recherche (uniquement flagship app)
cozy.search.enabled: Active la fonction de recherche
cozy.assistant.enabled: Active la fonctionnalité "Cozy Assistant"

Copy link

bundlemon bot commented Oct 28, 2024

BundleMon

Files updated (1)
Status Path Size Limits
app/home.(hash).js
55.77KB (+32B +0.06%) -
Unchanged files (12)
Status Path Size Limits
vendors/home.(hash).js
1.54MB -
services/softDeleteOrRestoreAccounts/home.js
464.4KB -
services/updateAccounts/home.js
461.47KB -
services/deleteAccounts/home.js
309.8KB -
services/myselfFromIdenties/home.js
234.35KB -
services/polyfillFetch/home.js
97.37KB -
vendors-home.(hash).(hash).min.css
38.79KB -
intents/home.(hash).js
27.37KB -
services/attributesHelpers/home.js
15.22KB -
app-home.(hash).min.css
2.18KB -
intents/index.html
651B -
intents-home.(hash).min.css
158B -

Total files change +27B 0%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

Comment on lines +98 to +100
const showAssistantForMobile = isFlagshipApp()
? flag('cozy.searchbar.enabled-for-flagship')
: flag('cozy.searchbar.enabled') && isMobile
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

La variable showAssistantForMobile devrait plutôt s'appeler showSearchbarForMobile du coup?

Copy link
Contributor Author

@JF-Cozy JF-Cozy Oct 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oui mais à ce compte là faudrait renommer les composants également... en fait "assistant" est parfois un mot générique pour toute la feature, parfois parle spécifiquement de la partie chat... je pense faire ça dans une autre PR

@JF-Cozy JF-Cozy merged commit 56bafef into master Oct 28, 2024
4 checks passed
@JF-Cozy JF-Cozy deleted the feat/VER-1038 branch October 28, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants